package com.wjjm.spoonselling.service;

import com.wjjm.spoonselling.pojo.Customer;
import com.wjjm.spoonselling.util.Result;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface CustomerService {

    Result login(Customer customer);

    Result register(Customer customer);

    Customer selectByName(String name);

    boolean update(Customer customer);

    boolean updatePassword(Customer customer);
}
